package com.chenglu.android.classify.mvp.contract;



import com.chenglu.android.classify.bean.CategoryBannerBean;
import com.chenglu.android.classify.bean.ClassisyTreeBean;
import com.chenglu.android.common.base.BaseView;

import io.reactivex.rxjava3.core.Observable;

/**
 * @author: lyj
 * @Created by Copyright 2023/3/2 Guangzhou Hongma Technology Co., Ltd. All rights reserved.
 *
 */
public interface ClassifyTreeContract {

    /**
     *
     * @description model
     *
     */

    public interface ClassifyTreeModel{

        Observable<ClassisyTreeBean> getClassisyTree();

        //刷新的token
    }


    /**
     *
     * @description view
     *
     */

    interface View extends BaseView {
        @Override
        void showLoading();

        @Override
        void dismissLoading();

        @Override
        void onEmpty(Object tag);

        @Override
        void onError(String errMessage);

        void getClassisyTree(ClassisyTreeBean bean);

        void getBanner(CategoryBannerBean bean);
    }

    /**
     *
     * @description presenter
     *
     */

    interface ClassifyTreePresenter {


        void getClassisyTree();


    }
}